package com.java.comprehensive.design.behavioral_model.visitor_pattern;

/**
 * @Author 窦绍飞
 * @create 2023/3/2
 */
public class Owner implements Person {
	public void feed(Dog dog) {
		System.out.println("主人喂食狗");
	}

	public void feed(Cat cat) {
		System.out.println("主人喂食猫");
	}
}
